/* 
 * File:   Imagem.h
 * Author: nata
 *
 * Created on March 13, 2012, 3:17 PM
 */

#ifndef IMAGEM_H
#define	IMAGEM_H

#include<opencv/cv.h>

class Image {
private:
    int width;
    int height;
    double relative_area;
    IplImage* image;
    
public:
    Image(Image* image);
//    Image(int width, int height, double relativeArea);
    Image(int width, int height, double relativeArea, IplImage *image=NULL);
    Image(IplImage* image, double priority);
    void set_dimensions(int width, int height);
    void set_relative_area(double relativeArea);
    void set_height(int height);
    void set_width(int width);
    int get_height();
    int get_width();
    double get_area();
    double get_relative_area();
    double get_aspect_ratio();
    IplImage* get_image();
    void set_image(IplImage* image);
};

#endif	/* IMAGEM_H */

